package com.iakuil.mvp.mp.common.domain;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 分页排序查询参数基类
 *
 * @author Kai
 * @date 2021/6/24 15:41
 **/
public class QueryBase implements Pageable, Serializable {
    @ApiModelProperty(hidden = true)
    private Integer pageNum;
    @ApiModelProperty(hidden = true)
    private Integer pageSize;
    @ApiModelProperty(hidden = true)
    private String orderBy;

    @Override
    public Integer getPageSize() {
        return pageSize;
    }

    @Override
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public Integer getPageNum() {
        return pageNum;
    }

    @Override
    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    @Override
    public String getOrderBy() {
        return orderBy;
    }

    @Override
    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }
}
